package com.ctshk.rpc.booking.service;


import com.ctshk.rpc.booking.dto.system.commodity.info.SupplierSystemOrderCommodityInfoDTO;
import com.ctshk.rpc.booking.req.system.commodity.add.SupplierSystemOrderCommodityAddReq;
import com.ctshk.rpc.booking.req.system.commodity.edit.SupplierSystemOrderCommodityEditReq;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 系统内商品基础信息 服务类
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-25
 */
public interface ISupplierSystemOrderCommodityService {

    void add(Long id, Long userId, LocalDateTime nowDateTime, List<SupplierSystemOrderCommodityAddReq> supplierSystemOrderCommodityAddReqList);

    void update(Long userId, LocalDateTime nowDateTime, List<SupplierSystemOrderCommodityEditReq> supplierSystemOrderCommodityEditReqList);

    List<SupplierSystemOrderCommodityInfoDTO> selectByOrderId(Long id);
}
